package vd.cloud.com.dao;

import org.springframework.beans.factory.annotation.Autowired;
import vd.cloud.com.entities.SchoolTypeEntity;
import vd.cloud.com.repositories.SchoolTypeRepository;

import java.util.List;

/**
 * Created by VIET on 2/26/2015.
 */
public class SchoolTypeDAOImpl implements SchoolTypeDAO {

    @Autowired
    private SchoolTypeRepository schoolTypeRepository;

    public List<SchoolTypeEntity> findAll(){
        return schoolTypeRepository.findAll();
    }
}
